<%@ page import="evol.Predmet" %>



<div class="fieldcontain ${hasErrors(bean: predmetInstance, field: 'boja', 'error')} ">
	<label for="boja">
		<g:message code="predmet.boja.label" default="Boja" />
		
	</label>
	<g:textField name="boja" value="${predmetInstance?.boja}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: predmetInstance, field: 'godina', 'error')} required">
	<label for="godina">
		<g:message code="predmet.godina.label" default="Godina" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="godina" min="1" max="4" required="" value="${predmetInstance.godina}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: predmetInstance, field: 'naziv', 'error')} ">
	<label for="naziv">
		<g:message code="predmet.naziv.label" default="Naziv" />
		
	</label>
	<g:textField name="naziv" value="${predmetInstance?.naziv}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: predmetInstance, field: 'smer', 'error')} ">
	<label for="smer">
		<g:message code="predmet.smer.label" default="Smer" />
		
	</label>
	<g:textField name="smer" value="${predmetInstance?.smer}"/>
</div>

